//
//  LanguageManager.h
//  MutableLanguage
//
//  Created by bj_szd on 2025/9/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LanguageManager : NSObject

+ (instancetype)sharedManager;

// 获取当前语言
- (NSString *)currentLanguage;

// 设置语言
- (void)setLanguage:(NSString *)language;

// 获取本地化字符串
- (NSString *)localizedStringForKey:(NSString *)key;

// 支持的语言列表
- (NSArray<NSString *> *)supportedLanguages;

// 获取语言显示名称
- (NSString *)displayNameForLanguage:(NSString *)language;

@end

NS_ASSUME_NONNULL_END
